package com.shelpe.services.lexicon.entity;

import lombok.Data;

@Data
public class KeywordTag {
	private final static String[] MAPPINGS = new String[4];
	
	static{
		MAPPINGS[0] = "精";
		MAPPINGS[1] = "飙";
		MAPPINGS[2] = "热";
		MAPPINGS[3] = "移";
	}
	
	private int tagID;
	private String tagName;
	
	public String getDisplayName(){
		if(this.tagID > 0 && this.tagID <= MAPPINGS.length){
			return MAPPINGS[this.tagID - 1];
		}
		return this.tagName;
	}
}
